package com.ruoyi.mes.mapper;

import java.util.List;
import com.ruoyi.mes.domain.PhgRequirementDetail;

/**
 * 采购需求详细Mapper接口
 * 
 * @author coderChen
 * @date 2024-06-20
 */
public interface PhgRequirementDetailMapper 
{
    /**
     * 查询采购需求详细
     * 
     * @param id 采购需求详细主键
     * @return 采购需求详细
     */
    public PhgRequirementDetail selectPhgRequirementDetailById(Long id);

    /**
     * 查询采购需求详细列表
     * 
     * @param phgRequirementDetail 采购需求详细
     * @return 采购需求详细集合
     */
    public List<PhgRequirementDetail> selectPhgRequirementDetailList(PhgRequirementDetail phgRequirementDetail);

    /**
     * 新增采购需求详细
     * 
     * @param phgRequirementDetail 采购需求详细
     * @return 结果
     */
    public int insertPhgRequirementDetail(PhgRequirementDetail phgRequirementDetail);

    /**
     * 修改采购需求详细
     * 
     * @param phgRequirementDetail 采购需求详细
     * @return 结果
     */
    public int updatePhgRequirementDetail(PhgRequirementDetail phgRequirementDetail);

    /**
     * 删除采购需求详细
     * 
     * @param id 采购需求详细主键
     * @return 结果
     */
    public int deletePhgRequirementDetailById(Long id);

    /**
     * 批量删除采购需求详细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePhgRequirementDetailByIds(Long[] ids);
}
